package pattern.strategy;

/**
 * 冒泡排序
 *
 * @author sun.ye
 * @since 2020-07-15 18:11
 */
public interface SortHandle<T> {
    void swap(int index);
    void setArray(T[] array);
    int length();
    boolean outOfOrder(int index);
}